package com.linkhub.oms.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;

import io.swagger.annotations.ApiModelProperty;
import lombok.experimental.FieldNameConstants;

/**
 * @author Jaycle
 * @version 1.0.0
 * @Description LocalProductCombinationInfoEntity.java
 * @createTime 2024/06/18 23:33
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_local_product_combination_info")
@ApiModel(value = "LocalProductCombinationInfo对象", description = "本地产品组合产品信息表")
@FieldNameConstants
public class LocalProductCombinationInfoEntity implements Serializable {

    @ApiModelProperty(value = "主键")
    @TableId(value = "Fid", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "用户id")
    @TableField("Fuser_id")
    private String userId;

    @ApiModelProperty(value = "本地商品skuId")
    @TableField("Fsku_id")
    private String skuId;

    @ApiModelProperty(value = "单个产品skuId")
    @TableField("Fsingle_sku_id")
    private String singleSkuId;

    @ApiModelProperty(value = "单个产品数量")
    @TableField("Fsingle_sku_nums")
    private Integer singleSkuNums;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "Fcreated_time")
    private LocalDateTime createdTime;

    @ApiModelProperty(value = "修改时间")
    @TableField(value = "Fupdate_time")
    private LocalDateTime updateTime;
}
